/***    
request.globalRequest(url,请求方式,obj数据,123,true单,true 多array)url, method, data, power, isUpload, isFiles
1===没登录前的请求头
2===携带请求头token
3===刷新token
***/
import request from '@/util/network_request/request.ts'
const apiCode={}
//获取带有蓝牙二维码的商品列表
apiCode.getBluetoothQrImageGoodsList = (data) => request.globalRequest({url:`/mobile/user/gooods/getBluetoothQrImageGoodsList`, method:'post',data,power:2})
//获取收费标准关联的分类
apiCode.getGoodstype = () => request.globalRequest({url:`/mobile/user/fee/getGoodstype`, method:'get',power:2})
// 获取收费标准信息列表
apiCode.getUserServiceFeeInfoList = (data) => request.globalRequest({url:`/mobile/network/sn/goods/getUserServiceFeeInfoList`, method:'post',data,power:2})
// 根据SN码获取收费标准关联的分类
apiCode.getGoodsTypeBySNCode = (snCode) => request.globalRequest({url:`/mobile/network/sn/goods/getGoodsTypeBySNCode/${snCode}`, method:'get',power:2})
// 根据SN码获取SN码关联的商品信息
apiCode.getBySnCode = (snCode) => request.globalRequest({url:`/mobile/network/sn/goods/getBySnCode/${snCode}`, method:'get',power:2})
//获取收费标准关联的分类
apiCode.getGoodstype = () => request.globalRequest({url:`/mobile/network/sn/goods/getGoodstype`, method:'get',power:2})
// 获取收费标准信息列表
apiCode.getUserServiceFeeInfoList = (data) => request.globalRequest({url:`/mobile/network/sn/goods/getUserServiceFeeInfoList`, method:'post',data,power:2})
// 根据SN码获取收费标准关联的分类
apiCode.getGoodsTypeBySNCode = (snCode) => request.globalRequest({url:`/mobile/network/sn/goods/getGoodsTypeBySNCode/${snCode}`, method:'get',power:2})

export default apiCode